package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 Students
 * 
 * @author fyt
 * @date 2024-10-30
 */

@Data
public class Students extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private Long studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 民族 */
    @Excel(name = "民族")
    private String ethnicity;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalStatus;

    /** 学院ID, 外键关联到 sys_dept 表 */
//    @Excel(name = "学院ID, 外键关联到 sys_dept 表")
    private Long collegeId;

    @Excel(name = "学院")
    private String collegeName;

    /** 专业ID, 外键关联到 sys_dept 表 */
//    @Excel(name = "专业ID, 外键关联到 sys_dept 表")
    private Long majorId;

    @Excel(name = "专业")
    private String majorName;

    /** 班级ID, 外键关联到 sys_dept 表 */
//    @Excel(name = "班级ID, 外键关联到 sys_dept 表")
    private Long classId;

    @Excel(name = "班级")
    private String className;

    /** 辅导员 */
    @Excel(name = "辅导员")
    private String counselor;

    /** 班导师 */
    @Excel(name = "班导师")
    private String classAdvisor;

    /** 就业指导老师 */
    @Excel(name = "就业指导老师")
    private String careerCounselor;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** QQ号 */
    @Excel(name = "QQ号")
    private String qqNumber;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 生源所在地 */
    @Excel(name = "生源所在地")
    private String originPlace;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String homeAddress;

    /** 家庭电话 */
    @Excel(name = "家庭电话")
    private String homePhone;

    /** 困难群体帮扶老师 */
    @Excel(name = "困难群体帮扶老师")
    private String supportTeacher;

    @Excel(name = "年级")
    private String grade;

    /** 就业表中信息 */
    @Excel(name = "就业意向")
    private String employment_intent;

    @Excel(name = "就业状态")
    private String employment_status;

    @Excel(name = "就业公司")
    private String current_company;

    @Excel(name = "是否在校")
    private String is_on_campus;

    @Excel(name = "就业所在省")
    private String province;

    //就业追踪表中信息
    @Excel(name = "联系月份")
    private String contact_months;

    @Excel(name = "就业记录")
    private String employment_records;


    private Integer limit;

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getIs_on_campus() {
        return is_on_campus;
    }

    public void setIs_on_campus(int is_on_campus) {
        if (is_on_campus == 1) {
            this.is_on_campus = "在校";
        } else {
            this.is_on_campus = "不在校";
        }
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setEthnicity(String ethnicity) 
    {
        this.ethnicity = ethnicity;
    }

    public String getEthnicity() 
    {
        return ethnicity;
    }
    public void setPoliticalStatus(String politicalStatus) 
    {
        this.politicalStatus = politicalStatus;
    }

    public String getPoliticalStatus() 
    {
        return politicalStatus;
    }
    public void setCollegeId(Long collegeId) 
    {
        this.collegeId = collegeId;
    }

    public Long getCollegeId() 
    {
        return collegeId;
    }
    public void setMajorId(Long majorId) 
    {
        this.majorId = majorId;
    }

    public Long getMajorId() 
    {
        return majorId;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setCounselor(String counselor) 
    {
        this.counselor = counselor;
    }

    public String getCounselor() 
    {
        return counselor;
    }
    public void setClassAdvisor(String classAdvisor) 
    {
        this.classAdvisor = classAdvisor;
    }

    public String getClassAdvisor() 
    {
        return classAdvisor;
    }
    public void setCareerCounselor(String careerCounselor) 
    {
        this.careerCounselor = careerCounselor;
    }

    public String getCareerCounselor() 
    {
        return careerCounselor;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setQqNumber(String qqNumber) 
    {
        this.qqNumber = qqNumber;
    }

    public String getQqNumber() 
    {
        return qqNumber;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setOriginPlace(String originPlace) 
    {
        this.originPlace = originPlace;
    }

    public String getOriginPlace() 
    {
        return originPlace;
    }
    public void setHomeAddress(String homeAddress) 
    {
        this.homeAddress = homeAddress;
    }

    public String getHomeAddress() 
    {
        return homeAddress;
    }
    public void setHomePhone(String homePhone) 
    {
        this.homePhone = homePhone;
    }

    public String getHomePhone() 
    {
        return homePhone;
    }
    public void setSupportTeacher(String supportTeacher) 
    {
        this.supportTeacher = supportTeacher;
    }

    public String getSupportTeacher() 
    {
        return supportTeacher;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("name", getName())
            .append("gender", getGender())
            .append("ethnicity", getEthnicity())
            .append("politicalStatus", getPoliticalStatus())
            .append("collegeId", getCollegeId())
            .append("majorId", getMajorId())
            .append("classId", getClassId())
            .append("counselor", getCounselor())
            .append("classAdvisor", getClassAdvisor())
            .append("careerCounselor", getCareerCounselor())
            .append("phoneNumber", getPhoneNumber())
            .append("qqNumber", getQqNumber())
            .append("email", getEmail())
            .append("originPlace", getOriginPlace())
            .append("homeAddress", getHomeAddress())
            .append("homePhone", getHomePhone())
            .append("supportTeacher", getSupportTeacher())
                .append("employment_intent", getEmployment_intent())
                .append("employment_status", getEmployment_status())
                .append("current_company", getCurrent_company())
                .append("is_on_campus", getIs_on_campus())
                .append("province", getProvince())
                .append("contact_month", getContact_months())
                .append("employment_record", getEmployment_records())
            .toString();
    }
}
